package com.monkey.tensquare.base.service;

import com.monkey.tensquare.base.entity.Label;
import entity.PageResult;

import java.util.List;

public interface LabelService {
    List<Label> findAll();

    void add(Label label);

    List<Label> topList();

    Label findById(String labelId);


    void update(Label label);

    void delete(String labelId);

    List<Label> search(Label label);

    List<Label> list();

    PageResult<Label> search(Label label, Integer page, Integer size);
}
